import { request } from '@/service/http'

/**
 * 用户分页查询
 * @param params
 */
export function fetchUserList(params: Api.User.UserPageRequest) {
  const methodInstance = request.Get<Service.ResponseResult<Api.Common.PageResponse<Api.User.UserPageResponse>>>('/xxl-api-admin/user/pages', { params })
  methodInstance.meta = {
    authRole: null,
  }
  return methodInstance
}
